#ifndef CREATENODEDIALOG_H
#define CREATENODEDIALOG_H

#include "common.h"

class CreateNodeDialog : public wxDialog
{
public:
    CreateNodeDialog(wxWindow* parent, const wxString& title);

    wxString GetNodeName() const
    {
        return m_textCtrl->GetValue();
    }

private:
    wxTextCtrl* m_textCtrl;

    void OnCreateButtonClicked(wxCommandEvent& event);
};

class CreateRouteConditionDialog : public wxDialog
{
public:
    CreateRouteConditionDialog(wxWindow* parent, const wxString& title);

    wxString GetStartLight() const
    {
        return m_startLightCtrl->GetValue();
    }
    wxString GetEndLight() const
    {
        return m_endLightCtrl->GetValue();
    }

private:
    wxComboBox* m_startLightCtrl,*m_endLightCtrl;

    void OnCreateButtonClicked(wxCommandEvent& event);
};

#endif // CREATENODEDIALOG_H
